import request from '@/utils/request'
//锚文本 
// 列表
export function getAnchorList(params) {
    return request({
        url: '/anchor/index',
        method: 'post',
        data: params
    })
}
// 添加
export function addAnchor(params) {
    return request({
        url: '/anchor/create',
        method: 'post',
        data: params
    })
}
// 删除
export function delAnchor(params) {
    return request({
        url: '/anchor/delete',
        method: 'post',
        data: params
    })
}
// 发布

// 编辑
export function editAnchor(params) {
    return request({
        url: '/anchor/update',
        method: 'post',
        data: params
    })
}
//详情
export function getAnchorDetail(params) {
    return request({
        url: '/anchor/detail',
        method: 'post',
        data: params
    })
}